/*
    SlideScript - minimalistic top-down scripting language.
    (C) Copyright 2014-2022 Chris Dorman - some rights reserved (GPLv2)

    View README file supplied with this software for more details
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <time.h>
#include <fcntl.h>
#include <errno.h>
#include <signal.h>
#include <regex.h>
#include <limits.h>
#include <stddef.h>
#include "config.h"
#include "sbyteswap.h"
#include <sys/types.h>
// Networking
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
// For file handling
#include <assert.h>
#include <sys/stat.h>
// For string searching
#include <regex.h>

void syn_error(char *message);
void syn_warn(char *message);
long fsize (FILE *in);
char *strip_nl(char *string);
int file_exists(char *path);
int is_dir(char *path);
int mkpath(char* file_path, mode_t mode);
char *ss_concat(char *str1, char *str2);
void parse_args(int argc, char** argv);
char *ss_time();
void gen_random_string(char *s, const int len);
char *remove_extension(char *string);
int check_for_var(char *string);
char **line_to_args(char *line);
int ss_exec(char **args);
